/**
 *  智能综采 api
 *  @module api/fullyMechanizedFace
 *  @author coder
 */

// API_HOST
import {
	API_HOST
} from '@/config'

// axios
import axios from '@u/axios'

/**
 * 带班人员
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const leaderInfo = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/integratedControl/fullyMechanized/leaderInfo'
})

/**
 * 采面信息
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const collectionInfo = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/integratedControl/fullyMechanized/collectionInfo'
})

/**
 * 异常告警
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const abnormalAlarm = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/integratedControl/fullyMechanized/abnormalAlarm'
})

/**
 * 割煤循环曲线
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const coalCutting = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/integratedControl/fullyMechanized/CoalCutting'
})

/**
 * 3D面采煤机信息
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const shearerInfo = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/integratedControl/fullyMechanized/shearerInfo'
})